﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ShangPingZS.ascx.cs" Inherits="书易.WEB.ShangPingZS" %>
<div method="post" name="formCart" id="formCart">
                    <table align="center" width="99%" cellspacing="1" cellpadding="5" border="0" bgcolor="#dddddd">
                        <tbody>
                            <tr>
                                <th bgcolor="#ffffff">商品名称
                        </th>
                                <th bgcolor="#ffffff">价格
                        </th>
                                <th bgcolor="#ffffff">购买数量
                        </th>
                                <th bgcolor="#ffffff">小计
                        </th>
                                <th bgcolor="#ffffff">操作
                        </th>
                            </tr>
                            <asp:Repeater runat="server" ID="rep_GWC" OnItemDataBound="rep_GWC_ItemDataBound" OnItemCommand="rep_GWC_ItemCommand">
                                <ItemTemplate>
                                    <tr>
                                        <td align="center" bgcolor="#ffffff">
                                            <img border="0" width="100px" height="100px;" title='<%#Eval("bname") %>' src='<%#Eval("bpic","BookImages/{0}") %>'><br>
                                            <%#Eval("bname") %>
                            </td>
                                        <td align="right" bgcolor="#ffffff">
                                          <asp:Literal runat="server" ID="lit_pric" Text='<%#Eval("bprice","{0:0.00}元") %>'></asp:Literal> 
                            </td>
                                        <td align="right" bgcolor="#ffffff">
                                           
                                            <asp:TextBox runat="server" style="text-align: center" CssClass="inputBg" Text='<%#Eval("BCount")%>' ID="txt_count" Width="13" AutoPostBack="true"></asp:TextBox>
                                        </td>
                                        <td align="right" bgcolor="#ffffff">
                                            <asp:Literal runat="server" ID="lit_price" Text='<%#Eval("bprice","{0:0.00}元") %>'></asp:Literal> 
                            </td>
                                        <td align="center" bgcolor="#ffffff">

                                            <asp:LinkButton ID="LinkButton1" runat="server" OnClientClick="return confirm('您确实要把该商品移出购物车吗')" OnClick="LinkButton1_Click1" CommandName="sc" CommandArgument='<%#Eval("tid") %>'>删除</asp:LinkButton>
                                            <!-- <a class="f6" href="javascript:if (confirm('您确实要把该商品移出购物车吗？')); ">删除</a>-->
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </tbody>
                    </table>
                </div>